 function getLocation(){
                if (navigator.geolocation) {
                    navigator.geolocation.getCurrentPosition(function(position){
                  	document.getElementById("input_lon").value = position.coords.longitude
					document.getElementById("input_lat").value = position.coords.latitude
					setMapToCenter()
					})	
                }
            }